package com.youths.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("/")
public class AppController {

    @GetMapping(value = {"", "index"})
    public String index(){
        return "main";
    }

    @GetMapping(value = "main")
    public String main() {
        return "main";
    }


}
